package com.gray.blog.result.sys;

import com.gray.blog.common.enums.YesOrNoEnum;
import com.gray.blog.common.enums.sys.RoleTypeEnum;
import com.gray.blog.common.result.BaseResult;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * Created  By zhoux 2020/04/21
 **/
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class RoleDetailResult extends BaseResult {

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "英文名称")
    private String enName;

    /**
     * {@link RoleTypeEnum}
     */
    @ApiModelProperty(value = "角色类型")
    private Integer roleType;

    /**
     * {@link YesOrNoEnum}
     */
    @ApiModelProperty(value = "是否系统数据")
    private Integer isSys;

    @ApiModelProperty(value = "权限排序（数值越小权限越大）")
    private Integer roleOrder;

}
